package cn.xumaoyang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Springboot启动类。
 */
@SpringBootApplication
@MapperScan("cn.xumaoyang.*.mapper")
//找不到baen使用此注解
//@ComponentScan(basePackages = "cn.xumaoyang.basic.AOP.service" )
public class PethomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PethomeApp.class);
    }
}
